package org.spring.springboot.app.platform.balancelog.service;


import org.spring.springboot.app.adv.advinfo.domain.vo.AdvInfoCountVO;
import org.spring.springboot.app.adv.advinfo.domain.vo.AdvInfoVO;
import org.spring.springboot.app.agent.balancelog.domain.vo.SysOfficeBalanceLogSearchVO;
import org.spring.springboot.app.platform.balancelog.domain.po.PlatformBalanceLogPO;
import org.spring.springboot.app.platform.balancelog.domain.vo.*;

import java.math.BigDecimal;
import java.util.List;

/**
 *  接口类
 */


public interface IPlatformBalanceLogService {

    PlatformBalanceLogPO find(String id);

    List<PlatformBalanceLogPO> findPage(PlatformBalanceLogSearchVO searchvo, int pageNum, int pageSize, String types);

    int save(PlatformBalanceLogPO po);

    int update(PlatformBalanceLogPO po);

    int delete(String id);

    int deletes(String ids);

    int addBalanceLog(BigDecimal mo, int type,String relateId,String relateExtId,String remark);

    String yesterdaySum();

    String lastweekSum();  //上周的

    String lastmonthSum();  //上月的

    List<UserVO> findUser();

    List<UserCountVO> findUserCount();

    List<OfficeVO> findOffice();  //代理商增长曲线

    List<OfficeCountVO> findOfficeCount();  //代理商增长曲线

    List<BalanceVO> findBalance();  //平台收益增长曲线

    List<BalanceCountVO> findBalanceCount();  //平台收益增长曲线

    List<AdvVO> findAdv();  //广告投放量增长曲线

    List<AdvCountVO> findAdvCount();  //广告投放量增长曲线

}
